package com.suzhe.ymall.pay.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Set;

/**
 * @author suzhe
 * @date 2019/6/30
 */
@FeignClient("system-service")
public interface PermissionClient{
    @GetMapping("/sys/resource/getActionPerms")
    Set<String> getActionPerms(@RequestParam("userId") Integer userId);
}
